package com.tyk.bookstore.back.system.repository;

import com.tyk.bookstore.back.common.dal.mapper.IMapper;
import com.tyk.bookstore.back.system.model.dto.RoleDto;
import com.tyk.bookstore.back.system.model.entity.RoleDo;
import com.tyk.bookstore.back.system.model.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleRepository extends IMapper<RoleDo> {

	List<RoleDto> selectRoleDtoList(Long userId);

    RoleVo getRoleById(Long id);
}
